package com.lagou.Student;


import java.io.Serializable;

public class Student implements Serializable {
    private static final long serialVersionUID = -6353692045843541865L;
    private String studentUserName;//学员用户名
    private String studentPassword;//学员密码
    private String studentName;//学员名字
    private int studentAge;//学员年龄
    private int studentNumber;//学员学号

    public Student() {
    }
    public Student(String studentUserName, String studentPassword, String studentName, int studentAge, int studentNumber) {
        this.studentUserName = studentUserName;
        this.studentPassword = studentPassword;
        this.studentName = studentName;
        this.studentAge = studentAge;
        this.studentNumber = studentNumber;
    }

    public Student(String studentUserName, String studentPassword) {
        this.studentUserName = studentUserName;
        this.studentPassword = studentPassword;
    }

    public String getStudentUserName(){
        return studentUserName;
    }
    public void setStudentUserName(String studentUserName){
        this.studentUserName=studentUserName;
    }

    public String getStudentPassword(){
        return studentPassword;
    }
    public void setStudentPassword(String studentPassword){
        this.studentPassword=studentPassword;
    }

    public String getStudentName(){
        return studentName;
    }
    public void setStudentName(String studentName){
        this.studentName=studentName;
    }

    public int getStudentAge() {
        return studentAge;
    }

    public void setStudentAge(int studentAge) {
        this.studentAge = studentAge;
    }

    public int getStudentNumber() {
        return studentNumber;
    }

    public void setStudentNumber(int studentNumber) {
        this.studentNumber = studentNumber;
    }
    public String toString(){
        return "[用户名:"+getStudentUserName()+",密码:"+getStudentPassword()+",姓名:"+getStudentName()+",年龄:"+getStudentAge()+",学号:"+getStudentNumber()+"]";
    }
}
